<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>百度一下，你就知道</title>
        <style type="text/css">
            html,body {
                padding: 0;
                margin: 0;
                width: 100%;
            }
            a,a:hover {
                text-decoration: none;
            }
            .wrapper {
                width: 122px;
                height: 48px;
                margin: 0 auto;
                position: relative;
            }
            /* 设置部分的样式 */
            .wrapper .set {
                float: left;
                position: relative;
                text-align: center;
                font-size: 13px;
                line-height: 24px;
                color: #333333;
                width: 26px;
                height: 48px;
                padding: 12px 0;
                cursor:pointer;
                box-sizing: border-box;
            }
            .wrapper .set:hover .set-items, .wrapper .set:hover .arrow-1,.wrapper .set:hover .arrow-2{
                display: block;
            }
            .wrapper .set  .arrow-1 {
                width: 0;
                height: 0;
                display: none;
                position: absolute;
                left: 50%;
                top:30px;
                margin: 0 0 0 -5px;
                border: 5px solid transparent;
                border-bottom:5px solid #d1d1d1;
            }
            .wrapper .set  .arrow-2 {
                width: 0;
                height: 0;
                display: none;
                position: absolute;
                left: 50%;
                top:31px;
                margin: 0 0 0 -5px;
                padding: 0px;
                border: 5px solid transparent;
                border-bottom:5px solid #fff;
                z-index: 10;
            }
            .wrapper .set .set-items {
                display: none;
                position: absolute;
                left: 50%;
                margin-left: -35px;
                border:1px solid #d1d1d1;
                top: 40px;
                width: 70px;
                overflow: hidden;
                font-size: 12px;
                box-shadow: 1px 1px 5px #d1d1d1
            }
            .wrapper .set .set-items a {
                background-color: #ffffff;
                color:#333333;
                display: block;
                padding: 0 9px;
                margin:0;
                line-height: 26px;
                height: 26px;
                width: 100%;
                box-sizing: border-box;
                text-align: center;
            }
            .wrapper .set .set-items a:hover {
                background-color: #38f;
                color: #ffffff;
            }
            /* 更多产品部分的样式 */
            .wrapper .more {
                float: left;
                font-size: 13px;
                text-align: center;
                line-height: 24px;
                background-color: #38f;
                width: 60px;
                height: 24px;
                margin:12px 18px;
                box-sizing: border-box;
                cursor: pointer;
            }
            .wrapper .more:hover .products {
                display: block;
            }
            .wrapper .more .products {
                display: none;
                position: absolute;
                right: 5.5px;
                top: 0;
                width: 85px;
                min-height: 792px;
                background-color: #f9f9f9;
                border-left: 1px solid #e7e7e7;
                border-right: 1px solid #e7e7e7;
                box-sizing: border-box;
            }
            .wrapper .more .products .products-more {
                font-size: 13px;
                text-align: center;
                line-height: 24px;
                background-color: #38f;
                width: 60px;
                height: 24px;
                margin:12px 0 12px 11.5px;
                cursor: pointer;
            }
            .wrapper .more .products a {
                display: block;
                font-size: 12px;
                width: 66px;
                height: 76px;
                margin: 0 auto;
                border-bottom: 1px solid #f0f0f0;
            }
            .wrapper .more .products a:hover {
                text-decoration: underline;
            }
            .wrapper .more .products a .image {
                width: 36px;
                height: 36px;
                margin: 10px auto 5px;
                background-image: url("https://dss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logos/yingxiao-b585c1ec7d.png");
                background-size: cover;
            }
            .wrapper .more .products a .all {
                text-decoration: underline;
            }
        </style>
    </head>
    <body>
        <div class="wrapper">
            <div class="set">设置
                <div class="arrow-1"></div>
                <div class="arrow-2"></div>
                <div class="set-items">
                    <a class="item" href="">搜索设置</a>
                    <a class="item" href="">高级搜索</a>
                    <a class="item" href="">关闭预测</a>
                    <a class="item" href="">隐私设置</a>
                </div>
            </div>
            <div class="more">更多产品
                <div class="products">
                    <div class="products-more">更多产品</div>
                    <a>
                        <div class="image"></div>
                        <span>百度营销</span>
                    </a>
                    <a>
                        <div class="image"></div>
                        <span>百度营销</span>
                    </a>
                    <a>
                        <div class="image"></div>
                        <span>百度营销</span>
                    </a>
                    <a>
                        <div class="image"></div>
                        <span>百度营销</span>
                    </a>
                    <a>
                        <div class="image"></div>
                        <span>百度营销</span>
                    </a>
                    <a>
                        <div class="image"></div>
                        <span>百度营销</span>
                    </a>
                    <a>
                       <span class="all">全部产品>></span>
                    </a>
                </div>
            </div>
        </div>
    </body>
</html>